/**
 * 
 */
package galacticthrone.screen.text;

import java.awt.Color;

import javax.media.opengl.GL;

// TODO Javadoc
/**
 * 
 *
 * @author Jaco van der Westhuizen
 */
public interface Font
{
	// Constants:
	public static final byte ALIGN_LEFT   = 0;
	public static final byte ALIGN_RIGHT  = 1;
	public static final byte ALIGN_CENTER = 2;

	public String[] makeLines(String text, float size, float maxWidth);
	public float calcWidth(String[] text, float size);
	public float calcWidth(String line, float size);	
	public float calcHeight(String[] text, float size);
	public void write(GL gl, String text, Color color, float size, byte align, float minX, float maxX, float minY, float maxY);
	public void write(GL gl, String[] lines, Color color, float size, byte align, float minX, float maxX, float minY, float maxY);
}
